package com.youi.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.youi.entity.Leaderprofit;
import com.youi.entity.vo.LeaderprofitdetailVo;

public interface LeaderprofitdetailVoDao {

	/**
	 * 查询资金流水列表
	 * @param start
	 * @param end
	 * @param orderNo
	 * @param phone
	 * @param pms
	 * @return
	 */
	public List<LeaderprofitdetailVo> getLeaderprofitdetailVoList(@Param("start")String start,@Param("end")String end,
			@Param("orderNo")String orderNo,@Param("phone")String phone,@Param("pms")String pms,@Param("pageIndex")Integer pageIndex, @Param("pageNum")Integer pageNum);
	
	/**
	 * 查询资金流水总数
	 * @param start
	 * @param end
	 * @param orderNo
	 * @param phone
	 * @param pms
	 * @return
	 */
	public Integer getLeaderprofitdetailVoCount(@Param("start")String start,@Param("end")String end,
			@Param("orderNo")String orderNo,@Param("phone")String phone,@Param("pms")String pms);
	
	/**
	 * 查询资金流水总数
	 * @param start
	 * @param end
	 * @param orderNo
	 * @param phone
	 * @param pms
	 * @return
	 */
	public Leaderprofit getLeaderprofitdetailSum();
	
	/**
	 * 根据流水类型获取流水汇总
	 * @param start
	 * @param end
	 * @param orderNo
	 * @param phone
	 * @param pms
	 * @return
	 */
	public Double getLeaderprofitdetailByType(@Param("type")Integer type,@Param("start")String start,@Param("end")String end,
			@Param("orderNo")String orderNo,@Param("phone")String phone,@Param("pms")String pms);
}
